package
{
	import as3isolib.core.IsoDisplayObject;
	import as3isolib.display.primitive.IsoBox;
	
	import flash.geom.Rectangle;

	public class Sector
	{
		public var planets:Vector.<IsoDisplayObject> = new Vector.<IsoDisplayObject>;
		public var rectangle:Rectangle;
		public var lastTimeUpdated:int;
		public var destroyFlag:Boolean = false;
		
		public function Sector(rect:Rectangle)
		{
			this.rectangle = rect;
		}
		
		public function hidePlanets():void{
			var i:int, il:int;
			for(i = 0, il = planets.length; i < il; i++){
				if(planets[i].parent){
					planets[i].parent.removeChild(planets[i]);
				}
			}
		}
	}
}